In this section, you will pick up from where you left off in the area of JavaScript Programming on CodeHS. You will need to do the following to get started:
1. Ensure that you are able to login to your old CodeHS account or create a new account. 2. Review the "Basic JavaScript and Graphics" section by going through the videos for section 1 (Hello World) through section 15 (Loop and a Half). The reviewing of the videos/slides should take 1 class period (Thursday, February 25th).
*As we work through the materials on CodeHS, you will be given checkpoints that you will need to complete and hand in along the way. These checkpoints will confirm your understanding of the materials. *
Once you have completed the steps above, here is what you need to do...
Friday, February 26th
Lesson 16 - Functions and Parameters a."Functions and Parameters 1" video b. Functions and Parameters Quiz 1 c. Double Number example d. "Square" Exercise e. "Triple" Exercise (Please email your solution so I can send you the explanation)
Monday, February 29th
Parameters for drawing a line in JavaScript - the horizontal value of the start of the line (example: 0) - the vertical value of the start of the line (example: 40) - the horizontal value of the end of the line (example: 300) - the vertical value of the end of the line (example: 40)
(0,40,300,40)
Here is a short video that will help you a bit more:
Lesson 17 - Functions and Parameters a."Functions and Parameters 2" video b.Functions and Parameters Quiz 2 c. Sum Function example d. "Area of Triangle" Exercise e."Height in Meters" Exercise (Please email your solution so I can send you the explanation)
Tuesday, March 1st
Lesson 18 - Functions and Parameters a."Functions and Parameters 3" video b. Functions and Parameters Quiz 3 c. Draw Circles example d. "Horizontal Lines" Exercise e. "Graphics Stop Light" Exercise (Please email your solution so I can send you the explanation)
Wednesday, March 2nd and Thursday, March 3rd (Extended until Friday March 4th)
Please complete the following checkpoint in the "sandbox" and send it to me once it is completed.
One of the required elements of Computer Science is to look at data structure known as "Arrays". The visual below will make more sense once you complete the related content in W3 Schools and CodeHS.
Array: Arrays are used to store multiple values in a single variable.
Section in CodeHS: "Basic Data Structures"
Lesson 1 - Intro to Lists/Arrays
a. "Intro to Lists/Arrays" Video
b. "Intro to Lists/Arrays" Quiz
c. Review "Making an Array" example
d. "List of Places to Travel" exercise
e. "List of Even Numbers" exercise
Lesson 2 - Indexing into an Array
a. "Indexing into an Array" Video
b. "Indexing into an Array" Quiz
c. "Array Indexing Practice" example
d. "Top Websites" exercise (Please send to me)
Wednesday, March 9th
Lesson 3 - Adding/Removing from an Array
a. "Adding/Removing from an Array" Video
b. "Adding/Removing from an Array" Quiz
c. "Add/Remove from Array" example
d. "Practice Push and Pop" exercise
Lesson 4 - Array Length and Looping Through Arrays
a. "Array Length and Looping Through Arrays" Video
b. "Array Length and Looping Through Arrays" Quiz
c. "Print Shopping List" example
d. "Sum Array" example
e. "Product of List" exercise
f. "Print Flight Itinerary" example
*We will complete this section tomorrow*
Thursday, March 10th
*Consult your Google Drive for solution to "Print Flight Itinerary"*
Lesson 4 Continued - Array Length and Looping Through Arrays
a. Complete the questions in the document below and send to me for marking.
1. Ensure that you are able to login to your old CodeHS account or create a new account.
2. Review the "Basic JavaScript and Graphics" section by going through the videos for section 1 (Hello World) through section 15 (Loop and a Half). The reviewing of the videos/slides should take 1 class period (Thursday, February 25th).
*As we work through the materials on CodeHS, you will be given checkpoints that you will need to complete and hand in along the way. These checkpoints will confirm your understanding of the materials. *
Once you have completed the steps above, here is what you need to do...
Friday, February 26th
Lesson 16 - Functions and Parameters
a."Functions and Parameters 1" video
b. Functions and Parameters Quiz 1
c. Double Number example
d. "Square" Exercise
e. "Triple" Exercise (Please email your solution so I can send you the explanation)
Monday, February 29th
Parameters for drawing a line in JavaScript
- the horizontal value of the start of the line (example: 0)
- the vertical value of the start of the line (example: 40)
- the horizontal value of the end of the line (example: 300)
- the vertical value of the end of the line (example: 40)
(0,40,300,40)
Here is a short video that will help you a bit more:
Lesson 17 - Functions and Parameters
a."Functions and Parameters 2" video
b.Functions and Parameters Quiz 2
c. Sum Function example
d. "Area of Triangle" Exercise
e."Height in Meters" Exercise (Please email your solution so I can send you the explanation)
Tuesday, March 1st
Lesson 18 - Functions and Parameters
a."Functions and Parameters 3" video
b. Functions and Parameters Quiz 3
c. Draw Circles example
d. "Horizontal Lines" Exercise
e. "Graphics Stop Light" Exercise (Please email your solution so I can send you the explanation)
Wednesday, March 2nd and Thursday, March 3rd (Extended until Friday March 4th)
Please complete the following checkpoint in the "sandbox" and send it to me once it is completed.
Monday, March 7th
Staff PD - No school for students
Tuesday, March 8th
One of the required elements of Computer Science is to look at data structure known as "Arrays". The visual below will make more sense once you complete the related content in W3 Schools and CodeHS.
Array: Arrays are used to store multiple values in a single variable.
Section in CodeHS: "Basic Data Structures"
Lesson 1 - Intro to Lists/Arrays
a. "Intro to Lists/Arrays" Video
b. "Intro to Lists/Arrays" Quiz
c. Review "Making an Array" example
d. "List of Places to Travel" exercise
e. "List of Even Numbers" exercise
Lesson 2 - Indexing into an Array
a. "Indexing into an Array" Video
b. "Indexing into an Array" Quiz
c. "Array Indexing Practice" example
d. "Top Websites" exercise (Please send to me)
Wednesday, March 9th
Lesson 3 - Adding/Removing from an Array
a. "Adding/Removing from an Array" Video
b. "Adding/Removing from an Array" Quiz
c. "Add/Remove from Array" example
d. "Practice Push and Pop" exercise
Lesson 4 - Array Length and Looping Through Arrays
a. "Array Length and Looping Through Arrays" Video
b. "Array Length and Looping Through Arrays" Quiz
c. "Print Shopping List" example
d. "Sum Array" example
e. "Product of List" exercise
f. "Print Flight Itinerary" example
*We will complete this section tomorrow*
Thursday, March 10th
*Consult your Google Drive for solution to "Print Flight Itinerary"*
Lesson 4 Continued - Array Length and Looping Through Arrays
a. Complete the questions in the document below and send to me for marking.
Friday, March 11th